FROM 10.5.26.86:8080/zjlab/python:2.7.18-alpine3.11

ENV WORK_DIR /home/python
ENV DOWNLOAD_DIR /home/download
RUN mkdir -p ${WORK_DIR} \
&& mkdir -p ${DOWNLOAD_DIR}
COPY upload.py ${WORK_DIR}
WORKDIR ${DOWNLOAD_DIR}

ENTRYPOINT (python ${WORK_DIR}/upload.py 8080)
